import request from '@/utils/request'

// 查询投后报告列表
export function listDealAfterReport(query) {
    return request({
        url: '/afterReport/dealAfterReport/list',
        method: 'get',
        params: query
    })
}

// 查询投后报告详细
export function getDealAfterReport(id) {
    return request({
        url: '/afterReport/dealAfterReport/' + id,
        method: 'get'
    })
}

// 保存投后报告
export function saveDealAfterReport(data) {
    return request({
        url: '/afterReport/dealAfterReport/save',
        method: 'post',
        data: data
    })
}

// 删除投后报告
export function delDealAfterReport(id) {
    return request({
        url: '/afterReport/dealAfterReport/' + id,
        method: 'delete'
    })
}

// 导出投后报告
export function exportDealAfterReport(query) {
    return request({
        url: '/afterReport/dealAfterReport/export',
        method: 'get',
        params: query
    })
}
